# -*- coding: utf-8 -*-
"""
@Project: base_python
@File: nltktest2.py
@Author: PC
@Date: 2025/06/13
@Description: 
"""
from nltk import bigrams
from nltk import FreqDist
from nltk.book import text6
bigrams = bigrams(text6)
bigramsDist=FreqDist(bigrams)
print(bigramsDist[('Sir','Robin')])